package com.gxlu.ms.base.module.context;

import com.gxlu.ms.base.module.param.Param;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @author andy.lhc
 * @date 2018/3/16
 * BaseContext
 */
public class BaseContext<T extends Param>  implements Context {

    private T param ;

    public T getParam() {
        return param;
    }

    public void setParam(T param) {
        this.param = param;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
